package com.h3c.gm.dao

import com.h3c.gm.entity.DO.BusHostSpecDO
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository

/**
 * Created by d14287 on 2017/6/23.
 */
@Repository
interface IBusHostSpecDao {
    Integer getCount(Map queryParams)

    Integer getSumCpus(Map queryParams)

    Integer getSumRam(Map queryParams)

    Integer getCountByStatus(Map queryParams)

    List<Map<String, Object>> getMonthStatistics(Map queryParams)

    void insert(BusHostSpecDO busHostSpecDO)

    void deleteByOrgkey(String orgkey)
}
